package com.electronic.appearance;


import com.itextpdf.kernel.geom.Rectangle;
import com.itextpdf.kernel.pdf.PdfDocument;
import com.itextpdf.kernel.pdf.xobject.PdfFormXObject;

import java.io.IOException;
import java.util.Calendar;

/**
 * @Author: IFCA
 * @Description: 重写PdfSignatureAppearance
 */
public class PdfSignatureAppearance extends com.itextpdf.signatures.PdfSignatureAppearance {

    public PdfSignatureAppearance(PdfDocument document, Rectangle pageRect, int pageNumber) {
        super(document, pageRect, pageNumber);
    }

    @Override
    public PdfFormXObject getAppearance() throws IOException {
        return super.getAppearance();
    }

    @Override
    public com.itextpdf.signatures.PdfSignatureAppearance setSignDate(Calendar signDate) {
        return super.setSignDate(signDate);
    }
}
